<?php

    class LeproBJAppSettings {
    
        public static $CARDS_SUITS = array('h', 'd', 'c', 's');
        public static $SUITS_COLORS_NAMES = array('Red', 'Black');
        // public static $SUITS_COLORS_NAMES = array('Красный', 'Чёрный');
        public static $RED_SUITS = array('h', 'd');
        public static $BLACK_SUITS = array('c', 's');
        public static $CARDS_SUITS_NAMES = array('Hearts', 'Diamonds', 'Clubs', 'Spades');
        // public static $CARDS_SUITS_NAMES = array('Червей', 'Бубен', 'Треф', 'Пик');
        public static $CARDS_NAMES = array('Two', 'Three', 'Four', 'Five', 
                                           'Six', 'Seven', 'Eight', 'Nine', 'Ten',
                                           'Jack', 'Queen', 'King', 'Ace', 'Joker');
        /* public static $CARDS_NAMES = array('Двойка', 'Тройка', 'Четвёрка', 'Пятёрка', 
                                           'Шестёрка', 'Семёрка', 'Восьмёрка', 'Девятка', 'Десятка',
                                           'Валет', 'Дама', 'Король', 'Туз', 'Джокер'); */
        public static $CARDS_NAMES_JOIN_PREP = 'of';
        //public static $CARDS_NAMES_JOIN_PREP = null;
        public static $CARDS_CODES = array('J', 'Q', 'K', 'A', 'Jk');        
        public static $CARDS_HTML_CODES = array('&empty;', 'J', 'Q', 'K', 'A', '&sect;'); // 10: &otimes; &dagger;, &nabla;
        public static $CARDS_SUITS_HTML_ENTS = array('&hearts;', '&diams;', '&clubs;', '&spades;');
        public static $CARDS_SUITS_UTF_ENTS = array('&#9829;', '&#9830;', '&#9827;', '&#9824;');
        public static $CARDS_COLORS_HTML_ENTS = array('&deg;', '&deg;');
        public static $CARDS_COLORS_UTF_ENTS = array('&#176;', '&#176;');
        
        public static $CARDS_SUITS_TO_FNAMES = array('h' => 'heart', 
                                                     'd' => 'diamond', 
                                                     'c' => 'club', 
                                                     's' => 'spade');
        // 10/A - 10, 11/B - J, 12/C - Q, 13/D - K, 14/E - A, 15/F - Joker
        public static $CARDS_NUMS_TO_FNAMES = array(11 => 'jack',
                                                    12 => 'queen',
                                                    13 => 'king',
                                                    14 => '1',
                                                    15 => 'joker');
        public static $CARDS_JOKER_SUIT_TO_FNAME = array('h' => 'red', 
                                                         'd' => 'red', 
                                                         'c' => 'black', 
                                                         's' => 'black');
        public static $CARDS_FNAME_DELIM = '_';
        public static $CARDS_FNAME_EXT = 'png';
        public static $CARDS_BACK_FNAME = 'back';
        public static $CARDS_DO_JOKER_FNAME_SWITCH = true;
        
        public static $APP_TITLE = 'Leprosorium Black Jack';
        
        public static $APP_HOST_RE = '(http:\/\/)?blackjack\.crzcrz\.net';
        public static $IMGS_PATH_RE = '\/img\/cards\/';
        
        public static $PROFILE_IMGS_FONT = './droidsans.ttf';
        public static $PROFILE_IMGS_SYMBFONT = './envycoder.ttf';
        public static $PROFILE_IMGS_FONTSIZE = 10;
        public static $PROFILE_IMGS_WIDTH = 340;
        public static $PROFILE_IMGS_HEIGHT = 100;
        
        public static $LALLOWED_DAYS = array(1, 3, 5);
        
        // public static $LALLOW_1STDAY = 3;
        // public static $LALLOW_2NDDAY = 5;
        
        const USE_21_RULES = false;
        const USE_HTML_ENTS = false;
        const JOKER_VALUE = 15; 
    
    }

?>
